import request from '@/utils/request'

// 查询解决方案配置列表
export function listSolutionset(query) {
  return request({
    url: '/zndd/solutionset/list',
    method: 'get',
    params: query
  })
}

// 查询解决方案配置详细
export function getSolutionset(id) {
  return request({
    url: '/zndd/solutionset/' + id,
    method: 'get'
  })
}

// 新增解决方案配置
export function addSolutionset(data) {
  return request({
    url: '/zndd/solutionset',
    method: 'post',
    data: data
  })
}

// 修改解决方案配置
export function updateSolutionset(data) {
  return request({
    url: '/zndd/solutionset',
    method: 'put',
    data: data
  })
}

// 删除解决方案配置
export function delSolutionset(id) {
  return request({
    url: '/zndd/solutionset/' + id,
    method: 'delete'
  })
}
